﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class father
    {
        private string name;
        private string txt;
        private int gj;
        private int fy;
        private int sd;
        private string jn;
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public string Txt
        {
            get { return this.txt; }
            set { this.txt = value; }
            }
            public int Gj
        {
            get { return this.gj; }
            set { this.gj = value; }
        }
            public int Fy
        {
            get { return this.fy; }
            set { this.fy = value; }
        }
            public int Sd
        {
            get { return this.sd; }
            set { this.sd = value; }
        }
            public string Jn
        {
            get { return this.Jn; }
            set { this.Jn = value; }
        }
        public void fathers()
        {
            Console.WriteLine(this.Name);
            Console.WriteLine(this.Txt);
            Console.WriteLine(this.Gj);
            Console.WriteLine(this.Fy);
            Console.WriteLine(this.Sd);
            Console.WriteLine(this.Jn);
        }
    }
  
   
}
